package RLK_IN;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class Example_02 {
    static final String propertyFile = "my_config.ini";

    static String getProperyFromConfigFile(String name)
            throws IOException {
        Properties prop = new Properties();
        FileInputStream st = new FileInputStream(propertyFile);
        try {
            prop.load(st);
        } finally {
            st.close();
        }
        return prop.getProperty(name);
    }
}
